from django.contrib import admin
from .models import User
# Register your models here.
@admin.register(User)
class UserAdmin(admin.ModelAdmin):
    list_display = ['id','username','name','email']
    list_display_links = [ 'username']
    search_fields = [ 'username' ,'name']
    list_editable = ['name']
    list_filter = ['username']